
#include "main.h"


	
void _write(u16 uiAddress, u8 ucData);
unsigned char _read(u16 uiAddress);


double read_double(u8 addr);

void write_double(u8 addr, double val);
void write_word(u16 addr, u16 val);
u16 read_word(u16 addr);


#define WAITMS(x)	_delay_ms(x)
#define WAITUS(x)	_delay_us(x)

uint8_t crc8( uint8_t *data, uint16_t number_of_bytes_in_data );

#define EEP_PTR	128
